﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Web.Master" AutoEventWireup="true" CodeBehind="register.aspx.cs" Inherits="web.Member.register" %>
<%@ Register TagPrefix="url" Namespace="ActionlessForm" Assembly="ActionlessForm" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <script type="text/javascript" src="/scripts/Register.min.js"></script>
    <style type="text/css">
        label { color:red;}
    </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder_Content" runat="server">
    <url:Form runat="server">
        <table>
            <tr>
                <td>昵称：</td>
                <td>
                    <asp:TextBox ID="txtNick" CssClass="txtNick" runat="server" MaxLength="18"></asp:TextBox></td><td><%=msg_nick %></td>
            </tr>
            <tr>
                <td>邮箱：</td>
                <td>
                    <asp:TextBox ID="txtUserName" CssClass="txtUserName" runat="server"></asp:TextBox></td><td><%=msg_username %></td>
            </tr>
            <tr>
                <td>密码：</td>
                <td>
                    <asp:TextBox ID="txtPwd" CssClass="txtPwd" TextMode="Password" runat="server" MaxLength="18"></asp:TextBox></td><td><%=msg_pwd %></td>
            </tr>
            <tr>
                <td>确认密码：</td>
                <td>
                    <asp:TextBox ID="txtRePwd" CssClass="txtRePwd" TextMode="Password" runat="server" MaxLength="18"></asp:TextBox></td><td><%=msg_repwd %></td>
            </tr>
            <tr>
                <td>验证码：</td>
                <td>
                    <asp:TextBox ID="txtVCode" CssClass="txtVCode" runat="server" MaxLength="4"></asp:TextBox><img alt="点击换一张" src="/api/validatecode/img.ashx" /></td><td><%=msg_code %></td>
            </tr>
            <tr>
                <td colspan="3">
                    <asp:Button ID="Button1"  runat="server" Text="Button" OnClick="Button1_Click" /></td><%-- OnClientClick="return CheckReg();"--%>
            </tr>
        </table>

    </url:Form>
    <script type="text/javascript">
        $("img").click(function () {
            $(this).attr("src", "/api/validatecode/img.ashx?t=" + (new Date()).valueOf());
        });
    </script>
</asp:Content>
